Friends\REST B

Total Complexity 97
Dependencies 11
Dependents 5
Total lines 752
Lines of code 561
Logical lines of code 247
Comment lines 97
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
rest_accept_friend_request()
A
44 10 47
check_remote_did_send_request()
A
47 9 36
permssion_check_accept_friend_request()
A
49 9 32
discover_rest_url()
A
49 9 31
permission_check_friend_request()
A
53 9 21
add_rest_routes()
A
35 1 135
notify_remote_friend_request_accepted()
S
47 6 35
rest_friend_post_deleted()
S
52 6 23
permission_check_friends_only()
S
57 6 15
rest_refresh_feed()
S
51 4 29
rest_embed_friend_post()
S
54 4 20
rest_friendship_requested()
S
58 4 15
notify_remote_friend_post_deleted()
S
54 3 22
rest_friend_request()
S
55 3 19
error()
S
58 3 17
get_friends_rest_url()
S
66 4 8
get_error_messages()
S
53 2 23
rest_get_feeds()
S
59 1 16
translate_error_message()
S
68 2 7
__construct()
S
77 1 4
register_hooks()
S
69 1 6